package it.cinema.mobile.biz;

import java.util.logging.Logger;

import javax.faces.bean.ApplicationScoped;
import javax.faces.bean.ManagedBean;
import javax.faces.context.FacesContext;
import javax.faces.event.ComponentSystemEvent;
import javax.servlet.http.HttpSession;

@ManagedBean
@ApplicationScoped
public class ApplicationBean {
	private static final Logger log = Logger.getLogger(it.cinema.mobile.biz.ApplicationBean.class.getName());
 
	public void preRenderView(ComponentSystemEvent event) {
		@SuppressWarnings("unused")
		HttpSession session = (HttpSession) FacesContext.getCurrentInstance()
				.getExternalContext().getSession(true);
	}
}
